class Passage < ActiveRecord::Base
  
  belongs_to :user
  belongs_to :event
  
  has_many :histories
  
  validates_presence_of :user, :event
  
  default_value_for :is_a_request, true
  
end
